package com.kfm.login.mapper;

import com.kfm.login.model.KfmUser;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface KfmUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(KfmUser record);

    int insertSelective(KfmUser record);

    KfmUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(KfmUser record);

    int updateByPrimaryKey(KfmUser record);

    KfmUser selectByUsernameAndPassword(String username, String password);

    KfmUser selectByUsername(String username);
}